  
   1. BOOL Connect(short iWin, BSTR sIp, short Port, short iRoad)
      Connecting server function;
      parameters: iWin  = short integer type, current window number, 0 is index;
                  sIp   = DVR server's IP address;
                  Port  = TCP port of above IP address, also named as real listen port
	          iRoad  = camera serial number of above IP address, 0 is index;
	          failed return False, success return True;

   2. SetBackColor(short iRed, short iGreen, short iBlue);
      Set background color of ActiveX Control;
      Parameters: iRed   = R of RGB color, 0-255;
                  iGreen = G of RGB color, 0-255;
	          iBlue  = B of RGB color, 0-255;

   3. SetWinColor(short iRed, short iGreen, short iBlue);
      Set form color of ActiveX Cotrol;
      Parameters: iRed   = R of RGB color, 0-255;
                  iGreen = G of RGB color, 0-255;
	          iBlue  = B of RGB color, 0-255;

   4. boolean LookImage(short iWin, short iRoad);
      This function is used to get other channel's video after connceting the camera of iWin setting;
      Parameters: iWin  = Serial number of window, same meaning as in Function Connect;
          	  iRoad = Change this number to view other channel camera, 0 is index. In fact it is 
                          changing the iRoad of Connect function;
    		  failed return False, success return True;

   5. SetVolume(short iWin, short iValue);
      Set the volume of voice;
      Parameters: iWin   = Serial number of window, same meaning as in Function Connect;
                  iValue = Value of new voice; 0-100; 0 is Min.,100 is Max.;

   6. Stop(short iWin);
      Close connection of current channel;
      Parameters: iWin = Serial number of window, same meaning as in Function Connect;;

   7. YTControl(short index);
      Control the PTZ of current channel;
      Parameters: index = 1: FocusNear
			  2: FocusFar
			  3: Iris Open     
			  4: Iris Close
			  5: Up   
			  6: Down
			  7: Right
			  8: Left
			  9: Left Up
			  10: Right Up
			  11: Left Down
			  12: Right Down
			  13: Auto Pan
			  14: Wipe On/OFF
			  15: Light On/OFF
			  16: ZoomOut
			  17: ZoomIn
 		        Other value is void;

   8. SplitDisplay(short Split);
      Set split mode;
      Parameters: Split = 0 one screen, display window 0;
                        = 1 four screen, display window 0,1,2,3;
                        = 2 nine screen, display window 0-8;
                        = 3 sixteen screen, display window 0-15;

   9. UpdateWindow(short iWin);
      Fresh window forcely;
      Parameters: iWin = -1, Fresh all channel;
                       = 0-15 fresh the appointed channel, but fresh will stop if the camera doesn't display;

